import struct
a=struct.pack('>I',10240099)
print(a)
b=struct.unpack(">IH",b'\xf0\xf0\xf0\xf0\x80\x80')
print(b)

with open(r'C:\Users\65506456.NAPP\Desktop\xjbh.bmp','rb') as f:
    s=f.read()
    s2=s[:30]
s3=struct.unpack('<ccIIIIIIHH',s2)
print(s3)
